//
//  YUFriendTrendsViewController.m
//  百思不得
//
//  Created by 宋禹奇 on 15/9/4.
//  Copyright (c) 2015年 宋禹奇. All rights reserved.
//

#import "YUFriendTrendsViewController.h"
#import "YURecommendViewController.h"
#import "YULoginRegisterViewController.h"

@interface YUFriendTrendsViewController ()

@end

@implementation YUFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"我的关注";
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"friendsRecommentIcon" highImage:@"friendsRecommentIcon-click" target:self action:@selector(friendsClick)];
    
    self.view.backgroundColor = YUGlobalBg;
}

- (void)friendsClick{
    YURecommendViewController *vc = [[YURecommendViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)loginRegister{
    YULoginRegisterViewController *login = [[YULoginRegisterViewController alloc] init];
    [self presentViewController:login animated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
